package com.example.mymatch.dao;

import com.example.mymatch.model.Backwork;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 编写者：杨滢
 */

@Mapper
public interface IBackwork {
    //添加销假信息
    int insertBackwork(Backwork backwork);
    //添加销假信息
    int updateBackwork(Backwork backwork);
    //删除销假信息
    int deleteBackwork(Backwork backwork);
    //销假查询
    List<Backwork> getAllBackwork(Backwork backwork);
    //查询单条销假数据
    Backwork getBackwork(Backwork backwork);
}
